Xbasic
a5_html_color Function
Syntax
C a5_html_color(C a5_color_name [,L include_hash ])
Arguments
- a5_color_nameCharacter
The color name.
- include_hashLogical
If .t., the returned HTML color code will include a # (hash). Otherwise, the # is omitted.
Returns
- resultCharacter
Returns the HTML hexadecimal color code. If include_hash is .t., the color code will be prefixed with a # (hash) symbol.
Description
Converts an A5 color name to an HTML format color name. e.g. #FF0000